namespace WeifenLuo.WinFormsUI.Docking
{

    public partial class DockWindow
    {
        #region Nested Types

        private class SplitterControl : SplitterBase
        {
            #region Properties

            protected override int SplitterSize
            {
                get { return Measures.SplitterSize; }
            }

            #endregion Properties

            #region Methods

            protected override void StartDrag()
            {
                DockWindow window = Parent as DockWindow;
                if (window == null)
                    return;

                window.DockPanel.BeginDrag(window, window.RectangleToScreen(Bounds));
            }

            #endregion Methods
        }

        #endregion Nested Types
    }
}